package com.fancon.rage.comic.entity;

import java.util.Date;

import javax.persistence.Id;

import com.google.apphosting.api.DatastorePb.GetResponse.Entity;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;
import com.googlecode.objectify.condition.PojoIf;

/**
 * @author binhbt
 *	2012
 */
public class PhotoJson{
	@Id
	private Long id;
	private String title;
	private String thumbUrl;
	private String imageUrl;
	private String countryCode ="en";
	private Date date;
	
	public PhotoJson(Long id, String title, String thumbUrl, String imageUrl,
			Date date) {
		super();
		this.id = id;
		this.title = title;
		this.thumbUrl = thumbUrl;
		this.imageUrl = imageUrl;
		this.date = date;
	}
	public PhotoJson(Long id, String title, String thumbUrl,String imageUrl, String countryCode,
			Date date) {
		super();
		this.id = id;
		this.title = title;
		this.thumbUrl = thumbUrl;
		this.imageUrl = imageUrl;
		this.date = date;
		this.countryCode = countryCode;
	}
	public PhotoJson() {
		
		// TODO Auto-generated constructor stub
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getThumbUrl() {
		return thumbUrl;
	}
	public void setThumbUrl(String thumbUrl) {
		this.thumbUrl = thumbUrl;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	
}
